from django.db import models
from utils.basemodel import BaseModel
from user.models import UserModel
from crouse.models import CrouseDeskModel

# Create your models here.
class CartModel(BaseModel):
    user = models.ForeignKey(to=UserModel,on_delete=models.CASCADE)
    course = models.ForeignKey(to=CrouseDeskModel,on_delete=models.CASCADE)
    select = models.BooleanField(default=True)
    class Meta:
        db_table = "cart"
